﻿@{
    Layout = null;
    var user = ViewBag.user;
}
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="Bookmark" href="/favicon.ico">
    <link rel="Shortcut Icon" href="/favicon.ico" />
    <link rel="stylesheet" href="~/libs/bootstrap/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="~/libs/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="~/libs/Ionicons/css/ionicons.min.css">
    <link rel="stylesheet" href="~/libs/adminlte/dist/css/AdminLTE.min.css">
    <link rel="stylesheet" href="~/libs/adminlte/dist/css/skins/_all-skins.min.css">
    <link rel="stylesheet" href="~/libs/datatables.net-bs/css/dataTables.bootstrap.min.css">
    <link rel="stylesheet" href="~/css/common.css">


    <!--[if lt IE 9]>
     <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <title>@ViewBag.Title</title>
    <meta name="keywords" content="@ViewBag.Keywords">
    <meta name="description" content="@ViewBag.Description">

    @RenderSection("Styles", required: false)



</head>
<body class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">
        <!-- 顶部导航栏 -->
        <header class="main-header">
            <!-- Logo -->
            <a href="/" class="logo">
                <!-- 最小的像素是 50x50 -->
                <span class="logo-mini"><b>A</b>LT</span>
                <!-- logo for regular state and mobile devices -->
                <span class="logo-lg"><b>Admin</b></span>
            </a>
            <!-- 顶部导航栏: 样式在 header.less -->
            <nav class="navbar navbar-static-top">
                <!-- 右边隐藏栏切换按钮-->
                <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
                    <span class="sr-only">Toggle navigation</span>
                </a>
                <div class="navbar-custom-menu">
                    <ul class="nav navbar-nav">
                        <!-- 用户账号: 样式在 dropdown.less -->
                        <li class="dropdown user user-menu">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <img src="~/libs/adminlte/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
                                <span class="hidden-xs">@(!string.IsNullOrEmpty(user.Nickname) ? user.Nickname : user.UserName)</span>
                            </a>
                            <ul class="dropdown-menu">
                                <!-- User image -->
                                <li class="user-header">
                                    <img src="~/libs/adminlte/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">

                                    <p>
                                        @(user.UserName)
                                        <small>Welcome</small>
                                    </p>
                                </li>

                                <!-- Menu Footer-->
                                <li class="user-footer">
                                    <div class="pull-left">
                                        <a href="#" class="btn btn-default btn-flat">Profile</a>
                                    </div>
                                    <div class="pull-right">
                                        <a href="@Url.Action("Out", "Login")" class="btn btn-default btn-flat">Sign out</a>
                                    </div>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </nav>
        </header>
        <!-- 左侧菜单列. 包括logo和菜单 -->
        <aside class="main-sidebar">
            <!-- sidebar: 样式在sidebar.less -->
            <section class="sidebar">
                <!-- Sidebar 用户panel -->
                <div class="user-panel">
                    <div class="pull-left image">
                        <img src="~/libs/adminlte/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
                    </div>
                    <div class="pull-left info">
                        <p>@user.UserName</p>
                        <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
                    </div>
                </div>

                <!-- 详细菜单项: : 样式在 sidebar.less -->
                <ul id="web_menu" class="sidebar-menu" data-widget="tree">
                   @Html.Partial("Menu")
                </ul>
            </section>
            <!-- /.sidebar -->
        </aside>

        <div class="content-wrapper">
            <section class="content-header">
                <ol class="breadcrumb" style="top:0;">
                    <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                    <li class="active">Dashboard</li>
                </ol>
            </section>
            <section class="content">
                @RenderBody()
            </section>
        </div>

    </div>

    <script src="~/libs/jQuery/dist/jquery.min.js"></script>
    <script src="~/libs/bootstrap/dist/js/bootstrap.min.js"></script>
    <script src="~/libs/datatables.net/js/jquery.dataTables.min.js"></script>
    <script src="~/libs/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
    <script src="~/libs/adminlte/dist/js/adminlte.min.js"></script>
    <script src="~/libs/jquery-nicescroll/jquery.nicescroll.js"></script>
    <script src="~/libs/iCheck/icheck.min.js"></script>
    <script src="~/libs/Vue/vue.min.js"></script>
    <script src="~/libs/layer/layer.js"></script>
    <script src="~/js/admin.js"></script>
    @RenderSection("Scripts", required: false)
    <!--此乃百度统计代码，请自行删除-->
</body>
</html>
